<!--
 * @Author: luoyuxiang 398165@qq.com
 * @Date: 2025-03-25 21:28:04
 * @LastEditors: luoyuxiang 398165@qq.com
 * @LastEditTime: 2025-03-25 21:41:33
 * @FilePath: \formula-syn-vue\src\views\project\components\OriginalLink.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div class="link-area">
    <el-link
      :href="'https://s.wanfangdata.com.cn/paper?q=' + titleCn"
      target="_blank"
      class="search-link"
    >
      万方
    </el-link>

    <el-link :href="'http://xueshu.baidu.com/s?wd=' + titleCn" target="_blank" class="search-link">
      百度学术
    </el-link>
    <el-link :href="'http://www.doc88.com/tag/' + titleCn" target="_blank" class="search-link">
      道客巴巴
    </el-link>
    <el-link :href="'https://s.ixueshu.com/?q=' + titleCn" target="_blank" class="search-link">
      爱学术
    </el-link>
    <el-link
      :href="'http://www.docin.com/search.do?nkey=' + titleCn"
      target="_blank"
      class="search-link"
    >
      豆丁
    </el-link>
    <el-link
      :href="'https://kns.cnki.net/kns/brief/Default_Result.aspx?code=SCDB&kw=' + titleCn"
      target="_blank"
      class="search-link"
    >
      知网
    </el-link>
    <el-link
      :href="'http://www.cqvip.com/main/search.aspx?k=' + titleCn"
      target="_blank"
      class="search-link"
    >
      维普
    </el-link>
    <el-link
      :href="'https://www.baidu.com/s?tn=baidu&wd=' + titleCn"
      target="_blank"
      class="search-link"
    >
      百度
    </el-link>
    <el-link
      :href="'https://wenku.baidu.com/search?word=' + titleCn"
      target="_blank"
      class="search-link"
    >
      百度文库
    </el-link>
  </div>
</template>

<script setup lang="ts">
const props = defineProps({
  titleCn: {
    type: String,
    required: true,
  },
});
</script>
<style scoped>
.link-area {
  color: #888;
}

.search-link {
  margin-right: 15px; /* 调整间距大小 */
}
</style>
